package com.neugh.service;

import com.neugh.entity.Real;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
public interface RealService extends IService<Real> {

    Real seleReaList(Integer userId);

    //Real addRel(@Param("real") Real real);

    boolean addRel(@Param("realFee") double realFee,@Param("realBill")double realBill,@Param("realWater")double realWater,@Param("realPrick")double realPrick,@Param("userId")Integer userId);

    List<Real> selectList(@Param("userId") Integer userId);
}
